#ifndef CAMDRIVER_HH
# define CAMDRIVER_HH

#include <opencv2/opencv.hpp>
#include <talos/IOPort.hpp>

class CamDriver 
{
	public:
		CamDriver(int device=0);

		void update();

	private:
		cv::VideoCapture* m_cap;
		talos::IOPort<cv::Mat> img;
};

#endif //CAMDRIVER_HH
